package com.lsh.streamgd.db.models;

import java.util.Date;
import java.util.List;

public class Agent {
	
    private Integer id;
    private String author;	//publisher
    private String agentUri;	//graph name
    private String homePage;	//landing page
    private String briefIntro;	//note
    private String domain;	//theme
    private String region;	//how to get???	org_desc
    private Integer collectAmount;	//
    private Boolean disabled;	//
    private Boolean deleted;
    private String version;
    private Date createdDate;	//
    private String imgUrl;	//organi_img_url
    private String lshURL;	//empty thing
    private String title;	//title
    //new added
    private String tags;	//tags
    private int totalView;	//total_view
    private int recentView;	//recent_view
    private int dataStar;	//if 1, then 4;
    private int priceType; //0:one2all 1:one2one
    
    // the indexed date
    private Date indexedDate;
    
    public Date getIndexedDate() {
		return indexedDate;
	}
	public void setIndexedDate(Date indexedDate) {
		this.indexedDate = indexedDate;
	}
    
    private String standardDomain;
    
    private String belongs;
    
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getAgentUri() {
		return agentUri;
	}
	public void setAgentUri(String agentUri) {
		this.agentUri = agentUri;
	}
	public String getHomePage() {
		return homePage;
	}
	public void setHomePage(String homePage) {
		this.homePage = homePage;
	}
	public String getBriefIntro() {
		return briefIntro;
	}
	public void setBriefIntro(String briefIntro) {
		this.briefIntro = briefIntro;
	}
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public Integer getCollectAmount() {
		return collectAmount;
	}
	public void setCollectAmount(Integer collectAmount) {
		this.collectAmount = collectAmount;
	}
	public Boolean getDisabled() {
		return disabled;
	}
	public void setDisabled(Boolean disabled) {
		this.disabled = disabled;
	}
	public Boolean getDeleted() {
		return deleted;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public Date getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getLshURL() {
		return lshURL;
	}
	public void setLshURL(String lshURL) {
		this.lshURL = lshURL;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public int getTotalView() {
		return totalView;
	}
	public void setTotalView(int totalView) {
		this.totalView = totalView;
	}
	public int getRecentView() {
		return recentView;
	}
	public void setRecentView(int recentView) {
		this.recentView = recentView;
	}
	public int getDataStar() {
		return dataStar;
	}
	public void setDataStar(int dataStar) {
		this.dataStar = dataStar;
	}
	public int getPriceType() {
		return priceType;
	}
	public void setPriceType(int priceType) {
		this.priceType = priceType;
	}
	public String getStandardDomain() {
		return standardDomain;
	}
	public void setStandardDomain(String standardDomain) {
		this.standardDomain = standardDomain;
	}
	public String getBelongs() {
		return belongs;
	}
	public void setBelongs(String belongs) {
		this.belongs = belongs;
	}
	@Override
	public String toString() {
		return "Agent [id=" + id + ", author=" + author + ", agentUri=" + agentUri + ", homePage=" + homePage
				+ ", briefIntro=" + briefIntro + ", domain=" + domain + ", region=" + region + ", collectAmount="
				+ collectAmount + ", disabled=" + disabled + ", deleted=" + deleted + ", version=" + version
				+ ", createdDate=" + createdDate + ", imgUrl=" + imgUrl + ", lshURL=" + lshURL + ", title=" + title
				+ ", tags=" + tags + ", totalView=" + totalView + ", recentView=" + recentView + ", dataStar="
				+ dataStar + ", priceType=" + priceType +  ", standardDomain="
				+ standardDomain + ", belongs=" + belongs + "]";
	}
	
}